new Vue({
    el: '#main-container',
    data:{
        appVersion:{}
    },
    methods:{
        doUpdate:function () {
            axios({
                url: '/manager/app/saveOrUpdate',
                method: 'post',
                data: this.appVersion
            }).then(response => {
                parent.layer.msg(response.data.msg);
                // 当前iframe层的索引
                let index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
        }
    },
    created:function () {
        // 获取Lauer父窗口传递的对象数据
        this.appVersion=parent.layer.appVersion;
    }
});